package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.ams.bean.MyPage;
import com.serkol.ams.bean.MyPageOld;
import com.serkol.ams.entity.Pictures;
import me.chanjar.weixin.common.error.WxErrorException;

import java.io.File;
import java.io.IOException;

/**
* @author pingan
* @description 针对表【pictures】的数据库操作Service
* @createDate 2022-09-16 19:40:17
*/
public interface PicturesService extends IService<Pictures> {

    MyPage<Pictures> findByList(int pageSize, int page, int type);

    File invalidQrCode(String key, String pages) throws WxErrorException;

    String invalidQrCodeUrl(String key, String pages) throws WxErrorException, IOException;
}
